package easyzhou.com.bean;

import java.util.HashSet;
import java.util.Set;

public class SvnLogs {
	private final Set<String> deleteSet = new HashSet<>();
	private final Set<String> addedSet = new HashSet<>();
	private final Set<String> modifiedSet = new HashSet<>();

	public Set<String> getDeleteSet() {
		return deleteSet;
	}

	public Set<String> getAddedSet() {
		return addedSet;
	}

	public Set<String> getModifiedSet() {
		return modifiedSet;
	}

	public boolean addDeleteSet(String element) {
		return this.deleteSet.add(element);
	}

	public boolean addAddedSet(String element) {
		return this.addedSet.add(element);
	}

	public boolean addModifiedSet(String element) {
		return this.modifiedSet.add(element);
	}

	@Override
	public String toString() {
		return "SvnLogs [deleteSet=" + deleteSet + ", addedSet=" + addedSet
				+ ", modifiedSet=" + modifiedSet + "]";
	}

}
